@import "constant";

.input-search-w {
    width: 170px !important;
}

.fillet-l-30 {
    border-radius: 30px 0 0 30px !important;
}

.fillet-r-30 {
    border-radius: 0 30px 30px 0 !important;
}

.background-color-p {
    background-color: @primaryColor;
}

.color-f {
    color: #fff;
}

.fillet-30 {
    border-radius: 30px;
}

.register-w {
    width: 68px;
}

.write-article-w {
    width: 106px;
}

.outline {
    outline: none !important;
}

.color-p {
    color: @primaryColor;
}

.border-s {
    border: 1px solid @primaryColor;
}

.mr-10 {
    margin-right: 10px !important;
}

.va-b {
    vertical-align: bottom;
}

.color-g {
    color: @secondaryColor;
}

.mt-20 {
    margin-top: 20px;
}

.color-7 {
    color: #777;
}

.text-align-c {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.b-w-196 {
    width: 196px;
}

.border-c-p {
    border-color: @primaryColor  !important;
    ;
}

.mt-50 {
    margin-top: 50px;
}

.hot-article {
    .hot-article-item {
        height: 378px;
        border-radius: 10px;
        // background: lightblue;
        overflow: hidden;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
        margin-bottom: 30px;
        .hot-article__img {
            min-height: 220px;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            background-color: #f2f2f2;
        }

        .hot-article__content {
            padding: 30px;

            .hot-article__title {
                font-size: 20px;
                font-weight: 900;
                margin-bottom: 20px;
            }

            .hot-article__foot {
                color: #666;
                display: flex;
                justify-content: space-between;
            }
        }

    }

    .carousel {
        width: 100%;
        height: 100%;

        .carousel-inner {
            height: 100%;

            .item {
                width: 100%;
                height: 100%;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center center;
            }

            .carousel-caption {
                font-size: 20px;
            }
        }

    }
}



.latest-article {
    // .latest-article-item {
    //     display: flex;
    //     height: 148px;
    //     margin-bottom: 20px;
    //     background-color: pink;
    // }
    margin-bottom: 20px;

    .latest-article-item {
        display: block;
        margin-bottom: 20px;
    }

    .latest-article__img {
        height: 150px;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        background-color: #f2f2f2;
        margin-left: -15px;
        border-radius: 10px;
    }

    @media screen and (max-width: 767px) {
        .latest-article__img {
            height: 250px;
        }
    }

    .latest-article__content {
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .latest-article__title {
        font-size: 20px;
        font-weight: 900;
        margin: 20px 0;
    }

    .latest-article__foot {
        color: #666;
        display: flex;
        justify-content: space-between;
        margin-bottom: 30px;
    }
}

.latest-comment {
    .latest-comment-item {
        display: flex;
        box-sizing: border-box;
        height: 115px;
        border: 1px solid #eee;
        border-radius: 5px;
        padding: 25px 25px 0 25px;
        margin-bottom: 30px;
        .latest-comment__avatar {
            display: block;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 10px;

            img {
                width: 100%;
                height: 100%;
            }
        }

        .latest-comment__content {
            flex: 1;
        }

        .latest-comment__header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;

            .latest-comment__author {
                color: #687385;
                font-size: 16px;
                font-weight: 700;
            }

            .latest-comment__date {
                color: #ccc;
                font-size: 12px;
            }
        }
    }

}

.hot-blogger {
    .hot-blogger-item {
        display: block;
        width: 100px;
        height: 100px;
        border-radius: 5px;
        overflow: hidden;
        background-color: blueviolet;
        margin-bottom: 20px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    @media screen and (max-width:767px) {
        .hot-blogger-item {
            width: 13vw !important;
            height: 13vw !important;
        }

    }
}



@media screen and (max-width: 991px) {
    .word-size{
        border-bottom: 1px solid #ccc;
        padding-bottom: 20px;
    }
    .word-size:hover .frame{
        color: #23527c!important;

    }
    .footer-box1 .collapse {
      display: none;
    }
  }
  @media screen and (min-width: 992px) {
    .footer-box1 .collapse {
      display: block;
    }
  }

.footer-box {
    background-color: #f7f8f9;

    .footer-box1 {
        margin-top: 56px;

        a {
            display: block;
            color: #999;
            margin-top: 18px;
            text-decoration: none;
        }
    }



    // @media screen and (min-width: 992px) {
    //     .collapse {
    //         display: block;
    //     }
    // }

    // @media screen and (max-width: 991px) {
    //     .collapse {
    //         display: none;
    //     }
    //     h4{
    //         border-bottom: 1px solid #ccc;
    //         padding-bottom: 20px;
    //     }
    //     h4:hover .frame{
    //         color: #23527c!important;

    //     }
    // }

    .frame {
        color: black !important;
        font-weight: bold;
    }

    .copyright-box {
        margin: 40px 0;
        text-align: center;

        p {
            color: #ccc;
        }
    }

}